package com.hung.triple.heartbeat;

import com.hung.triple.protocol.rpc.TripleRpcResponse;

import java.net.InetSocketAddress;

/**
 * @author Hung
 * @date 2023/2/7 23:12
 */
public interface CommandFactory {

    <T extends TripleRpcResponse> T createTimeoutResponse(InetSocketAddress var1);


    <T extends TripleRpcResponse> T createSuccessResponse(InetSocketAddress var1);


}
